package com.dev.security.manager.service;

import java.util.List;
import java.util.Map;

import com.dev.security.manager.beans.Role;

/**
 * @author 潜行的青衣
 * @see
 */
public interface IRoleService {

	public boolean create(Role role);
	
	public void update(Role role);
	
	public List<Role> findAll();
	
	public void remove(String[] role_ids);
	
	public List<Map<String, Object>> buildAppPermTree(String role_id);
	
	public void saveAppUnit(String role_id, String[] app_ids);
	
	public void savePermUnit(String role_id, String[] per_ids);
	
}
